import {Vue, Component} from "vue-property-decorator";

@Component({
    components: {}
})
export default class FormatCount extends Vue {

   formatArea(count:any){
       if (count > 1000 * 1000) {
           return (count/(1000 * 1000)).toFixed(4)+"km²"
       }
       return  count+'m²'
   }

}